import React ,{ Component }from "react";
import {Text, View, StatusBar, ScrollView} from "react-native";
import {connect} from "react-redux";
import {Actions} from "react-native-router-flux";
import NavigationComponent from "../../components/NavigationComponent";

class Dynamic extends Component{
    constructor(props){
        super(props)
    }
    render(){
        return(
            <ScrollView>
                <StatusBar backgroundColor={'transparent'} translucent={true} />
                <NavigationComponent title="美品动态" back={true}/>
                <View>
                    <Text>美品动态</Text>
                </View>

                <View style={{borderWidth:1,borderColor:'#999',padding:10,width: 300}}>
                    <Text style={{fontSize:32}} onPress={Actions.LatestInformation}>最新资讯</Text>
                    <Text style={{fontSize:32}} onPress={Actions.SystemNotification}>系统通知</Text>
                </View>


            </ScrollView>
        )
    }
}

export default connect(
    (state) => {
        return {
        }
    },
    (dispatch) => ({
    })
)(Dynamic)
